package net.xdclass.springboot.domain;

public class MyException extends RuntimeException{

    private String msg;
    private String code;

    public MyException(String message, String code) {
        this.msg = message;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
